package com.example.chirdrenserver.Service.AdminService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chirdrenserver.Pojo.dto.PermissionDTO;
import com.example.chirdrenserver.Pojo.entity.Permission;

import java.util.List;
import java.util.Map;

/**
 * @Author: Yu
 * @CreateTime: 2025-06-25
 * @Description: 權限管理
 */
public interface PermissionService extends IService<Permission> {
    boolean initMenu(Long userId);

    void deleteByids(List<Integer> id);


    void updateByid(Integer id, PermissionDTO permissionDTO);


    void add(PermissionDTO permissionDTO);
}
